projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d9b92
)
Cosmetics
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 25 Oct 2020 00:57:54 +0000
(20:57 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 25 Oct 2020 04:31:18 +0000
(
00:31
-0400)
Remove some comments that refer to no longer
existing menu code.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index 49a16937cb94fa88904ddd13811c2868a106ba05..fa744d1d9c70acbf68b763c164745db74f95cc9f 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-2398,8
+2398,6
@@
gtk_widget_unparent (GtkWidget *widget)
if (priv->parent == NULL)
return;
- /* keep this function in sync with gtk_menu_detach() */
-
gtk_widget_push_verify_invariants (widget);
g_object_freeze_notify (G_OBJECT (widget));
@@
-5670,9
+5668,6
@@
gtk_widget_reposition_after (GtkWidget *widget,
data.old_scale_factor = gtk_widget_get_scale_factor (widget);
- /* keep this function in sync with gtk_menu_attach_to_widget()
- */
-
if (priv->parent == NULL)
g_object_ref_sink (widget);